<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/10
 * Time: 15:31
 */
namespace app\home\controller;

use think\Controller;
use think\Db;

class Index extends Controller
{
    public function index()
    {
        $member = Db::name('member')->select();
        return ['data'=>$member,'code'=>0,'msg'=>'this is user info!'];
    }

}